Skip to main content

contentType

Type​

property

Summary​

What kind of content the field contains.

Syntax​

set the contentType of <widget> to <pType>
get the contentType of <widget>

Description​

Use the contentType property to determine what kind of content the control contains.

Examples​

set the contentType of widget "Android Field" to "password"

Value​

NameTypeDescription

value

  • "plain": plain, unstyled text
  • "password": plain text displayed in the standard password style

Compatibility and Support​

OS

android